Cucumber Features

Expand All

Collapse All

Feature: As a Yelp user I should be able to search for restaurants

features/scenarios/yelp.feature:3

Scenario: verify the user is able to search restaurants

  1. Given I visit yelp.com
    features/step_definition/yelp_steps.rb:1
  2. Screenshot
     
  3. And I select "Restaurants" from the search dropdown
    features/step_definition/yelp_steps.rb:5
  4. Screenshot
     
  5. And I click on Search button
    features/step_definition/yelp_steps.rb:10
  6. Screenshot
     
  7. And I select "restaurants pizza" from the search dropdown
    features/step_definition/yelp_steps.rb:5
  8. Screenshot
     
  9. And I Report search results
    features/step_definition/yelp_steps.rb:15
  10. Screenshot
     
  11. And I apply filtering options
    features/step_definition/yelp_steps.rb:20
  12. Screenshot
     
  13. And I Report search results
    features/step_definition/yelp_steps.rb:15
  14. Screenshot
     
  15. And I report the star rating of each restaurant
    features/step_definition/yelp_steps.rb:26
  16. Screenshot
     
  17. When I expand the result 1
    features/step_definition/yelp_steps.rb:31
  18. Screenshot
     
  19. Then I report contact information of the restaurant
    features/step_definition/yelp_steps.rb:36
  20. Screenshot
     
  21. And I report 3 customer reviews
    features/step_definition/yelp_steps.rb:41
  22. Screenshot
     
    DATA
features/scenarios/yelp.feature:17

Scenario Outline: verify the user is able to search requirements

  1. Given I visit yelp.com
    features/scenarios/yelp.feature:18
  2. And I select "<search>" from the search dropdown
    features/scenarios/yelp.feature:19
  3. And I click on Search button
    features/scenarios/yelp.feature:20
  4. And I select "<search_updated>" from the search dropdown
    features/scenarios/yelp.feature:21
  5. And I Report search results
    features/scenarios/yelp.feature:22
  6. And I apply filtering options
    features/scenarios/yelp.feature:23
  7. And I Report search results
    features/scenarios/yelp.feature:24
  8. And I report the star rating of each restaurant
    features/scenarios/yelp.feature:25
  9. When I expand the result <result_no>
    features/scenarios/yelp.feature:26
  10. Then I report contact information of the restaurant
    features/scenarios/yelp.feature:27
  11. And I report <review_count> customer reviews
    features/scenarios/yelp.feature:28

Examples

Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
DATAScreenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
DATAScreenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
DATA
search
search_updated
result_no
review_count
Food
food italian
2
2
Restaurants
restaurants vegan
4
3
Delivery
delivery chinese
4
3
Unable to find css ".biz-website>a"
./features/pages/yelp_page.rb:64:in `report_contact_info'
./features/step_definition/yelp_steps.rb:38:in `/^I report contact information of the restaurant$/'
features/scenarios/yelp.feature:34:in `Then I report contact information of the restaurant'
features/scenarios/yelp.feature:27:in `Then I report contact information of the restaurant'